package com.example.testvolication.pojo.dto;

import com.example.testvolication.pojo.valid.annotation.NameCheck;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *     自定义注解校验字段
 * </p>
 * @author zhangs
 * @date 2022/5/18 14:23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AnnotationDemo {

    @NameCheck
    public String name;
}
